package com.xhsj.user.hr.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhsj.user.hr.base.BaseParam;
import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.hr.system.entity.TbHrZhaopinEmploy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 录用记录表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-09-07
 */
@Mapper
public interface TbHrZhaopinEmployMapper extends BaseMapper<TbHrZhaopinEmploy> {

    /**
     * 物理删除数据库记录
     * @author 苏小林
     * @date 2020/9/8 9:26
     * @param: id
     */
    void delById(@Param("id") Long id);

    /**
     * 分页查询数据
     * @author 苏小林
     * @date 2020/9/19 16:00
     * @param: page
     * @param: data
     * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.xhsj.user.hr.system.entity.TbHrZhaopinEmploy>
     */
    IPage<TbHrZhaopinEmploy> findList(Page<TbHrZhaopinEmploy> page, @Param("entity") BaseParam entity);
}
